haphazard fashion

Translations
беспорядочная манера
He arranged the books in a haphazard fashion.
Он расставил книги в беспорядочной манере.